Judge accuses Interior Ministry of violating rights of those given refuge in country amid Russian invasion by preventing them from working