In the European Union, examination of asylum applications is dealt with by member states' administration. We don't examine any applications; however, there are rules at the EU level, and for the moment there are also minimum standards on how you examine the application and on, let's say, the reception of asylum seekers.
As Ioana said before, in a way, detention should be a measure of last resort, so it might be possible—