The Florida Supreme Court on Thursday ruled juvenile courts cannot reject immigrant children’s petitions for dependency without giving them a chance to present evidence.

The 4-3 ruling came with four separate opinions, showing a variety of thoughts on a divisive issue that two justices said needs “immediate legislative attention and clarification.”