container.create_container(args...., device_profile=["nonsense_string"]) will execute successfully, but do nothing, so long as nonsense_string is not the name of an existing device profile.
This should raise an error associated with a non-existing device profile.